﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleServiceBus.Bus.MessageManagement;

namespace SimpleServiceBus.Bus.Pipeline.PipelineComponents.Routing
{
    public abstract class RouteBase : IMessageRoute
    {
        public string[] Destinations
        {
            get; set;
        }

        public abstract bool Matches(MessageEnvelope messageEnvelope);
    }
}
